cmake_minimum_required(VERSION 2.8.3)
project(img_seg)


set(PYTHON_INCLUDE_DIR "/home/daybeha/anaconda3/envs/pytorch/include/python3.9")
set(NUMPY_INCLUDE_DIR "/home/daybeha/anaconda3/envs/pytorch/include/python3.9/site-packages/numpy/core/include")
set(PYTHON_LIBRARY "/home/daybeha/anaconda3/envs/pytorch/lib/libpython3.9.so")

find_package(catkin REQUIRED COMPONENTS
  cv_bridge
  # message_generation
  # message_runtime
  rospy
  # rostest
  sensor_msgs
)

catkin_package(
#  INCLUDE_DIRS include
  # CATKIN_DEPENDS cv_bridge message_generation message_runtime rospy rostest std_msgs
  CATKIN_DEPENDS cv_bridge rospy  sensor_msgs
#  DEPENDS system_lib
)

include_directories(
# include
  ${catkin_INCLUDE_DIRS}
        ${PYTHON_INCLUDE_DIR}
        ${NUMPY_INCLUDE_DIR}
)


catkin_install_python(PROGRAMS
  # predict
  predict.py
  DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/src
)
install(FILES
  predict
        DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/src
)
